This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~George Minkrozenjip 19.Jan.04 04:09 PM a Web browser Domino Designer All Releases All Platforms
Hi,
I'm using the function below to get xml from one of our supplier. (in this case, a list of products). I am new to XML, the first part is working, but now I don't know how to transform the result to create notes documents based on the result. Is it something I can do with lotusscript or it has to be done with Java? I looked at the DOMParser, but my inputStream is not a saved xml file (it's my text result). Someone can point me to the right direction please?
Thanks in advance,
Genevieve Godbout
Sub SendXMLHTTPRequest(req)
' Create the XMLHTTP object which we will use to send the request and receive the response
Dim responseText As String
Dim xmlhttp
On Error Resume Next
'You may also use "MSXML2.XMLHTTP", but ServerXMLHTTP is more app-friendly
Set xmlhttp = createObject("Msxml2.serverXMLHTTP")
'Post the request to the server
Msgbox("Sending..." & req)
xmlhttp.Open "POST", MustangServerURL, False
xmlhttp.setRequestHeader "Content-Type", "text/xml"
xmlhttp.Send (req)
ResponseText = xmlhttp.responsetext
'Msgbox("The following is your Response : " & ResponseText)
'Clean up the objects we used
Set xmlhttp = Nothing